package com.housediyadmin.model
{
	import com.housediyadmin.vo.Sales;
	
	import mx.collections.ArrayCollection;
	
	import org.robotlegs.mvcs.Actor;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2010/12/16
	 */	
	public class SalesModel extends Actor
	{
		[Bindable]
		public var salesArray:ArrayCollection;
		
		[Bindable]
		public var salesIds:ArrayCollection = new ArrayCollection();
		
		[Bindable]
		public var selectedSales:Sales =  new Sales();
		
		[Bindable]
		public var selectedSalesArr:Array = new Array();
		
		public function SalesModel()
		{
			super();
		}
		
		public function updateSalesModel(salesArray:ArrayCollection):void
		{
			this.salesArray = salesArray;
		}
	}
}